Implementations of Nondeterministic Programs
نویسنده
چکیده
Non-determinism is widely recognized as a valuable tool for program development [Dijkstra 1976]. It appears also as the natural environment for the , evolution of systems of parallel processes; sequential implementation of such systems through non-deterministically simulating their distributed behaviour can be an effective programming technique [Guerreiro 1981, 1983b]. Furthermore, the concept of non-determinism itself arises many interesting theoretical questions [Plotkin 1976, Schmidt 1979, Apt and Plotkin 1981, Back 1981, Hennessy 1982, Poigne 1982, etc.]. Nevertheless, if we are interested in obtaining an implementation for a program that describes a non-deterministic situation, sooner or later we are bound to consider, implicitly or explicitly, a deterministic version of it, since, at some level of detail, the existing machines operate in a deterministic fashion. : Therefore, the problem arises of determining exactly in what way can the i non-determinism be suppressed, or, at least, under which conditions is the rdeterministic program a legitimate version of the non-deterministic one. More generally, we want to have a means of deciding whether a given program P1 can be !~ replaced by another program P2, in such a way that it is impossible by looking only at the results of the execution of P2 to find out that the executed program was not P1 after all.
منابع مشابه
Using Formal Transformations to Construct a Component Repository
This paper discusses how theoretical results from the eld of program transformations can be applied to develop a new approach to software reuse. We describe a model for the semantics of nondeterministic programs and speciications and use this model to show how reenements and transformations of programs and speciications can be proved correct by reference to their corresponding Weakest Precondit...
متن کاملFlexible Filters for High-Performance Embedded Computing
Many high-performance embedded applications can be naturally programmed with a stream-processing model which exposes the inherent locality and concurrency among their tasks and enables efficient implementations on parallel architectures. Since an embedded software application may be characterized by nondeterministic and data-dependent behavior (as both the execution times of its tasks and their...
متن کاملA Strict Border for the Decidability of E{Uni cation for Recursive Functions
During the execution of functional logic programs, E{uniication problems have to be solved quite frequently, where the underlying equational theory is induced by recursive functions. But, what about the decidability of those E{uniication problems? Up to now, there does not exist a concrete answer to this question. In this paper, we answer this question by drawing and verifying a strict border b...
متن کاملOperational Semantics for Functional Logic Languages
In this work we provide a semantic description of functional logic languages covering notions like laziness, sharing, and non-determinism. Such a semantic description is essential, for instance, to have appropriate language definitions in order to reason about programs and check the correctness of implementations. First, we define a “big-step” semantics in natural style to relate expressions an...
متن کاملTesting Nondeterministic Finite State Machines with Respect to the Separability Relation
In this paper, we propose a fault model and a method for deriving complete test suites for nondeterministic FSMs with respect to the separability relation. Two FSMs are separable if there exists an input sequence such that the sets of output responses of these FSMs to the sequence do not intersect. In contrast to the well-known reduction and equivalence relations, the separability relation can ...
متن کاملRestricted Nondeterministic Read-Once Branching Programs and an Exponential Lower Bound for Integer Multiplication
Branching programs are a well established computation model for Boolean functions, especially read-once branching programs have been studied intensively. In this paper the expressive power of nondeterministic read-once branching programs, i.e., the class of functions representable in polynomial size, is investigated. For that reason two restricted models of nondeterministic read-once branching ...
متن کامل